#!/bin/sh

HOME=D\:/git/bobo/grovvy-script
echo "HOME is $HOME"
cp s2g-zuul-mobile/src/main/resources/mobile_zuul_example.properties s2g-zuul-mobile/src/main/resources/mobile_zuul.properties
mkdir $HOME/scripts
mkdir $HOME/scripts/pre
mkdir $HOME/scripts/route
mkdir $HOME/scripts/post
mkdir $HOME/scripts/error

echo '1. update s2g-zuul-mobile/src/main/resources/mobile_zuul.properties filter.pre.path 和其他路径为 $HOME/scripts'
echo '2. 创建数据库脚本 db/schema.sql,并且修改 Filters Dao Source部分的数据库连接配置'
echo '3. mvn clean install -DskipTests'
echo '4. mvn jetty:run 启动 s2g-zuul-mobile 工程'
